From: Dan Nicolaescu Date: Thu, 29 Jul 2010 05:58:58 +0000 (-0700) Subject: * src/mem-limits.h: Remove duplicated includes. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~7113 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=72f4a8efce5c058ba50127be4cd97c4f6926ef3c;p=emacs.git * src/mem-limits.h: Remove duplicated includes. (NULL): Remove definition, unused. (POINTER): Remove definition. (start_of_data): Use char* in prototype, as the function definition does. --- diff --git a/src/ChangeLog b/src/ChangeLog index 7d1b89ef567..80215740571 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,11 @@ 2010-07-29 Dan Nicolaescu + * mem-limits.h: Remove duplicated includes. + (NULL): Remove definition, unused. + (POINTER): Remove definition. + (start_of_data): Use char* in prototype, as the function + definition does. + Remove extern declarations from .c files, and them to .h files. * keyboard.h (Qhelp_echo, waiting_for_input) (input_available_clear_time, ignore_mouse_drag_p) diff --git a/src/mem-limits.h b/src/mem-limits.h index 8827c458c02..9ec1558527d 100644 --- a/src/mem-limits.h +++ b/src/mem-limits.h @@ -34,24 +34,9 @@ extern int etext; # endif #endif -#ifdef BSD4_2 -#include -#include -#endif /* BSD4_2 */ - -/* The important properties of this type are that 1) it's a pointer, and - 2) arithmetic on it should work as if the size of the object pointed - to has a size of 1. */ -typedef POINTER_TYPE *POINTER; - typedef unsigned long SIZE; -#ifdef NULL -#undef NULL -#endif -#define NULL ((POINTER) 0) - -extern POINTER start_of_data (void); +extern char *start_of_data (void); #if defined USE_LSB_TAG #define EXCEEDS_LISP_PTR(ptr) 0 #elif defined DATA_SEG_BITS